From: Bjorn Helgaas Date: Thu, 6 Oct 2016 18:39:38 +0000 (-0500) Subject: PCI: qcom: Remove unused platform data X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~1364^2^10~3 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=661a0e4ce08a54caa9ec398ad083a85aa7fe05bb;p=linux-4.9.git PCI: qcom: Remove unused platform data The qcom driver never uses the platform drvdata pointer, so don't bother setting it. No functional change intended. Signed-off-by: Bjorn Helgaas --- diff --git a/drivers/pci/host/pcie-qcom.c b/drivers/pci/host/pcie-qcom.c index 5ec2d440a6b7..51bb0a975459 100644 --- a/drivers/pci/host/pcie-qcom.c +++ b/drivers/pci/host/pcie-qcom.c @@ -569,8 +569,6 @@ static int qcom_pcie_probe(struct platform_device *pdev) return ret; } - platform_set_drvdata(pdev, pcie); - return 0; }